import { axios } from '@/utils/request'
const baseUrl = '127.0.0.1:18081'
//const baseUrl = 's.bitzh.edu.cn'

export function getMyBusiness() {
  //获取我的业务
  return axios({
    url: `http://${baseUrl}/singlepoint/cardapi`,
    method: 'get',
    params: {
      namespace: 'GzlApi',
      function: 'getGzllzsOnCreator',
      params: { keyword: '', page: 1, rows: '20' },
    },
  })
}

export function getMyHtml() {
  //获取我的业务
  return axios({
    url: `http://${baseUrl}/htmlc`,
    method: 'get',
  })
}
